<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basepath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>缴费报告信息</title>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta content="telephone=no" name="format-detection" />
    <link href="<%=basepath%>css/index.css" rel="stylesheet" type="text/css">
    <link href="<%=basepath%>css/parking.css" rel="stylesheet" type="text/css">
    <script src="<%=basepath%>js/jquery-1.8.3.min.js"></script>
    <script src="<%=basepath%>js/layer/layer.js"></script>
</head>
<body>
<div class="viewport">
    <div class="header">
       <div class="header-1">
           <a href="javascrpt:void(0)" id="join" class="header-2">
              <span id="account" class="account">${empty user.realName ? '' : user.realName}</span>&nbsp;&nbsp;<span id="deptName" class="deptName">${user.departmentName}</span>
           </a>
           <a href="/wape-web/api/core/centerService?serviceCode=WJ9999&targetURL=yuexi&prefix=3g_mmzs&entrance=yes" class="back" id="back">返回</a>
           <span class="span-num">WYP27000</span>
       </div>
    </div>
    <div class="content m-top">
        <div class="content2-2">
            <a href="/wape-web/api/core/centerService?serviceCode=MMZS124" class="span-1">按时间查询</a>
            <a href="/wape-web/api/core/centerService?serviceCode=MMZS130" class="span-3 span-active">按收费种类查询</a>
        </div>
        <c:forEach var="dt" items="${fec}">
        <c:if test="${dt.countCar != '0'}">
        <div class="vehicle-3">
            <div class="vehicle-3-1">
                <table>
                    <tr>
                        <td style="float:left;">${dt.dateStr}</td>
                        <td class="total_c">报告单数：<b>${dt.countCar}</b>份</td>
                        <td class="total_m">总金额：<b>${dt.countFee}</b>元</td>
                    </tr>
                </table>
            </div>
        </div>
        </c:if>
        <c:forEach var="ls" items="${list}">
        <c:if test="${dt.dateStr eq ls.dateStr}">
        <div class="vehicle-4">
            <a href="/wape-web/api/core/centerService?serviceCode=MMZS138&costType=${ls.feeType}&chargesClazz=${ls.chargesClazz}&chargesDay=${ls.dateStr}" class="vehicle-4-1">
                <table>
                    <tr>
                    	<td class="red td-v1">
                    	<c:if test="${ls.feeType eq 10}">经营费</c:if>
                    	<c:if test="${ls.feeType eq 20}">超时费</c:if>
                    	<c:if test="${ls.feeType eq 30}">短租费</c:if>
                        </td>
                        <td class="td-v2">${ls.pageCount}</td>
                        <td class="td-v2">${ls.feeCount}</td>
                        <td class="td-v3"></td>
                    </tr>
                </table>
            </a>
        </div>
        </c:if>
        </c:forEach>
        <div class="blank"></div>
	</c:forEach>
    </div>
</div>
<script type="text/javascript">
    /*错误提示*/
    $(function(){
        var error = "${requestScope.returnMsg}";
        if(error != "" && error != "成功!"){
            layer.msg(error,{shadeClose:true,shade:0.1,time:2000});
        }
    });
</script>
</body>
</html>

